package cn.wolfcode.wolf2w.repository;

import cn.wolfcode.wolf2w.domain.StrategyCatalog;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;


public interface StrategyCatalogMongoRepository extends MongoRepository<StrategyCatalog,String> {
    /**
     * 根据destName查询strategyCatalog对象列表
     * @param destName
     * @return
     */
    List<StrategyCatalog> findByDestName(String destName);

    /**
     * 根据destId查询攻略分类列表
     * @param destId
     * @return
     */
    List<StrategyCatalog> findByDestId(String destId);
}
